package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

// 呼叫结束推送
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "呼叫结束推送对象", description = "")
@TableName("call_relevance_finish_dx")
public class CallEndSend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务时间戳")
    private String ts;


    @ApiModelProperty(value = "业务id")
    private String requestId;

    @ApiModelProperty(value = "真实号码")
    private String telA;

    @ApiModelProperty(value = "小号号码")
    private String telX;

    @ApiModelProperty(value = "对端号码")
    private String telB;

    @ApiModelProperty(value = "呼转前号码")
    private String telC;

    @ApiModelProperty(value = "绑定 id")
    private String subid;

    @ApiModelProperty(value = "呼叫类型")
    private String calltype;

    @ApiModelProperty(value = "发起呼叫时间")
    private String calltime;

    @ApiModelProperty(value = "振铃开始时间")
    private String ringingtime;

    @ApiModelProperty(value = "通话开始时间")
    private String starttime;

    @ApiModelProperty(value = "通话结束时间")
    private String releasetime;

    @ApiModelProperty(value = "通话标识")
    private String callid;

    @ApiModelProperty(value = "释放方向")
    private String releasedir;

    @ApiModelProperty(value = "释放原因")
    private String releasecause;

    @ApiModelProperty(value = "录音控制")
    private String callrecording;

    @ApiModelProperty(value = "通话录音地址")
    private String recordUrl;

    @ApiModelProperty(value = "振铃录音地址")
    private String ringingRecordUrl;

    @ApiModelProperty(value = "录音模式")
    private String recordMode;

    @ApiModelProperty(value = "呼转后号码")
    private String telredir;

    @ApiModelProperty(value = "呼转原因")
    private String redirreason;

    @ApiModelProperty(value = "被叫来显号码")
    private String calldisplay;

    @ApiModelProperty(value = "接入商自有字段")
    private String remark;

    @ApiModelProperty(value = "通话结果")
    private String callState;
    @ApiModelProperty(value = "通话录音云地址")
    private String recordUrlOss;
}
